from flask import Flask



app = Flask(__name__)

@app.route("/")
def hello():

  # 1.直接返回响应体数据return '字符串'
    return "hello"
  # * 2.直接返回响应体数据+状态码
  #   * return '字符串',转台码
  # return "hello",666
  # return "hello", "666 BIGGERRO"

  # * 3.直接返回响应体数据+状态码+响应头信息
  #   * return '字符串',转台码,{'key':'value'}
# return "hello",200,{"Content-Type":"application/json","name":"banzhang"}




if __name__ == '__main__':

    app.run(debug=True)